FROM maven:${maven_image_tag}
ADD file/sources.list /etc/apt/
RUN apt-get update
RUN apt-get install libxml2-utils -y
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    && echo "Asia/Shanghai" > /etc/timezone 
RUN rm -f /usr/share/maven/conf/settings.xml
COPY file/settings-docker.xml /usr/share/maven/conf/settings.xml
ADD script/mvn_start /usr/local/bin/
